<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1">
    <meta content="telephone=no" name="format-detection"/>
    <script>
        var isJsBridgeReady = false;
        var isZHKIOS= false;
        function readyFunc(device){
            isJsBridgeReady = true;
            if(device == 'true'){
              isZHKIOS = true;
            }
        }
    </script>
    <title>选择门店</title>
    <link rel="stylesheet" href="../css/pro_app.min.css"/>
    <link rel="stylesheet" href="../lib/swiper.min.css">
    <link rel="stylesheet" href="../lib/yz-sm.min.css">
    <link rel="stylesheet" href="../lib/mobiscroll/mobiscroll.custom-2.17.0.min.css"/>
</head>

<body>
<div class="page-group">
    <div class="page store-list-select-one" id="employeeStoreListPage">

        <div class="scroll-view">
            <ul class="header">
                <li class="left"><a href="" class="back"><i class="zhk-nav_back"></i>返回</a></li>
                <li class="middle">门店列表</li>
                <li class="right"></li>
            </ul>
            <div class="check-all">全部门店</div>
            <div class="page-body">
                <div id="selectEmployeeShopDiv"></div>
            </div>
        </div>

        <script type="text/template" id="employeeShopTpl">
                <ul class="list">
                    {{ each data as cityData i }}
                    <li>
                        <div class="city">
                            {{ cityData.cityName }}
                        </div>
                        <ul class="store-list">
                                <!-- 1、审批中；2、变更审批中；3、审批驳回；4、变更审批驳回；5、审批通过；6、变更审批通过 -->
                            {{ each cityData.shops as shopData i }}
                                <li shopId="{{ shopData.shopId }}" class="{{(shopData.auditStatus==1 || shopData.auditStatus==3)?'mark-reject':''}}" shopName="{{ shopData.shopName }}">
                                    <div>
                                        <p>
                                        {{ if shopData.auditStatus == "1"}}
                                            <span>[审批中]</span>
                                        {{ else if shopData.auditStatus == "3"}}
                                            <span>[审批驳回]</span>
                                        {{/if}}
                                        {{ shopData.shopName }}
                                        </p>
                                    </div>
                                </li>
                            {{ /each }}
                        </ul>
                    </li>
                    {{ /each }}
                </ul>
        </script>
        <script  type="text/template" id="employeeStoreTPLEmpty">
            <div class="no-data-wrap">
                <div class="no-data"></div>
                <p>暂无数据</p>
            </div>
        </script>
    </div>
</div>

<script src="../lib/zepto.min.js"></script>
<script src="../lib/yz-sm.min.js"></script>
<script src="../lib/template.js"></script>
<script src="../lib/swiper.min.js"></script>

<script src="../base/recalc.js" compress="../base/base.js"></script>
<script src="../base/dialog.js" compress="../base/base.js"></script>
<script src="../base/common.js" compress="../base/base.js"></script>
<script src="../base/appservice.js" compress="../base/base.js"></script>
<script src="../base/h5service.js" compress="../base/base.js"></script>
<script src="../js/emplyeeStoreList.js" compress="../js/main.js"></script>
<script src="../lib/mobiscroll/mobiscroll.custom-2.17.0.min.js"></script>
</body>
</html>
